<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Bibliotheque:  Fichier source de BdApp.h</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Généré par Doxygen 1.5.5 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="main.html"><span>Page&nbsp;principale</span></a></li>
      <li><a href="classes.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
    <li>
      <form action="search.php" method="get">
        <table cellspacing="0" cellpadding="0" border="0">
          <tr>
            <td><label>&nbsp;Rechercher&nbsp;</label></td>
            <td><input type="text" name="query" value="" size="20" accesskey="s"/></td>
          </tr>
        </table>
      </form>
    </li>
    </ul>
  </div>
<h1>BdApp.h</h1><a href="BdApp_8h.html">Aller à la documentation de ce fichier.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/***************************************************************************</span>
<a name="l00002"></a>00002 <span class="comment"> *   Copyright (C) 2008 by beltegeuse   *</span>
<a name="l00003"></a>00003 <span class="comment"> *   beltegeuse@kubuntu-acer   *</span>
<a name="l00004"></a>00004 <span class="comment"> *                                                                         *</span>
<a name="l00005"></a>00005 <span class="comment"> *   This program is free software; you can redistribute it and/or modify  *</span>
<a name="l00006"></a>00006 <span class="comment"> *   it under the terms of the GNU General Public License as published by  *</span>
<a name="l00007"></a>00007 <span class="comment"> *   the Free Software Foundation; either version 2 of the License, or     *</span>
<a name="l00008"></a>00008 <span class="comment"> *   (at your option) any later version.                                   *</span>
<a name="l00009"></a>00009 <span class="comment"> *                                                                         *</span>
<a name="l00010"></a>00010 <span class="comment"> *   This program is distributed in the hope that it will be useful,       *</span>
<a name="l00011"></a>00011 <span class="comment"> *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *</span>
<a name="l00012"></a>00012 <span class="comment"> *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *</span>
<a name="l00013"></a>00013 <span class="comment"> *   GNU General Public License for more details.                          *</span>
<a name="l00014"></a>00014 <span class="comment"> *                                                                         *</span>
<a name="l00015"></a>00015 <span class="comment"> *   You should have received a copy of the GNU General Public License     *</span>
<a name="l00016"></a>00016 <span class="comment"> *   along with this program; if not, write to the                         *</span>
<a name="l00017"></a>00017 <span class="comment"> *   Free Software Foundation, Inc.,                                       *</span>
<a name="l00018"></a>00018 <span class="comment"> *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *</span>
<a name="l00019"></a>00019 <span class="comment"> ***************************************************************************/</span>
<a name="l00020"></a>00020 
<a name="l00021"></a>00021 <span class="preprocessor">#ifndef BDAPP_APP_H</span>
<a name="l00022"></a>00022 <span class="preprocessor"></span><span class="preprocessor">#define BDAPP_APP_H</span>
<a name="l00023"></a>00023 <span class="preprocessor"></span>
<a name="l00024"></a>00024 <span class="preprocessor">#include &lt;QObject&gt;</span>
<a name="l00025"></a>00025 <span class="preprocessor">#include &lt;QMainWindow&gt;</span>
<a name="l00026"></a>00026 
<a name="l00027"></a>00027 <span class="preprocessor">#include "ui_BdApp.h"</span>
<a name="l00028"></a>00028 
<a name="l00029"></a>00029 <span class="comment">//Class QT</span>
<a name="l00030"></a>00030 <span class="keyword">class </span>QSplashScreen;
<a name="l00031"></a>00031 <span class="keyword">class </span>QWidget;
<a name="l00032"></a>00032 <span class="keyword">class </span>QAction;
<a name="l00033"></a>00033 
<a name="l00034"></a>00034 <span class="comment">//Class interne</span>
<a name="l00035"></a>00035 <span class="keyword">class </span><a class="code" href="classBdBibliotheque.html" title="class pour representer une bibliotheque">BdBibliotheque</a>;
<a name="l00039"></a><a class="code" href="classBdApp.html">00039</a> <span class="keyword">class </span><a class="code" href="classBdApp.html" title="Class pour l&amp;#39;interface principale.">BdApp</a> : <span class="keyword">public</span> QMainWindow, <span class="keyword">public</span> Ui::<a class="code" href="classBdApp.html" title="Class pour l&amp;#39;interface principale.">BdApp</a>
<a name="l00040"></a>00040 {
<a name="l00041"></a>00041   Q_OBJECT;
<a name="l00042"></a>00042 <span class="keyword">public</span>:
<a name="l00049"></a>00049   <a class="code" href="classBdApp.html#f061157b364961e96f6a1139fa6056cb" title="Constructor.">BdApp</a>(QSplashScreen *splash, QWidget * parent = 0, Qt::WFlags fl = Qt::Window);
<a name="l00051"></a>00051   <a class="code" href="classBdApp.html#db9e33bf7c7ebe11e20cbf4d29566283" title="Destructor.">~BdApp</a>();
<a name="l00052"></a>00052   
<a name="l00053"></a>00053 <span class="keyword">protected</span>:
<a name="l00054"></a>00054         <span class="comment">//Build the menu</span>
<a name="l00056"></a>00056 <span class="comment"></span>        <span class="keywordtype">void</span> <a class="code" href="classBdApp.html#b8a6d8d7d2aa5f57b4bdca617745ed22" title="Fonction pour initialiser le menu pour la fenetre principale.">createMenu</a>();
<a name="l00058"></a>00058         <span class="keywordtype">void</span> <a class="code" href="classBdApp.html#46f3c16de31fbfd833340d62de2ec178" title="Fonction pour initialiser les actions pour la fenetre principale.">createActions</a>();
<a name="l00060"></a>00060         <span class="keywordtype">void</span> <a class="code" href="classBdApp.html#8a8982b9f929f844a3a2a31938853f4e" title="Fonction pour initialiser le connection (Qt) pour la fenetre principale.">createConnect</a>();
<a name="l00061"></a>00061 <span class="keyword">private</span> slots:
<a name="l00063"></a>00063   <span class="keywordtype">void</span> <a class="code" href="classBdApp.html#c34e7da378095870e794c97e28db6480" title="Pour creer une bibliotheque vide.">createEmptyBibliotheque</a>();
<a name="l00065"></a>00065   <span class="keywordtype">void</span> <a class="code" href="classBdApp.html#27fd2f56f088e4a148da4672ad966a17" title="Pour ajouter un livre manuelement.">ajouterLivreManuel</a>();
<a name="l00066"></a>00066 <span class="keyword">private</span>:
<a name="l00067"></a>00067   <span class="comment">//Function</span>
<a name="l00071"></a>00071 <span class="comment"></span>  <span class="keywordtype">bool</span> <a class="code" href="classBdApp.html#97762b0d91d077b02c47e3ffacb43720" title="Pour ajouter une bibliotheque deja correctement initialiser.">addBibliotheque</a>(<a class="code" href="classBdBibliotheque.html" title="class pour representer une bibliotheque">BdBibliotheque</a>* myBiblio);
<a name="l00072"></a>00072 
<a name="l00073"></a>00073 
<a name="l00074"></a>00074   <span class="comment">//Attributes</span>
<a name="l00075"></a><a class="code" href="classBdApp.html#4c5f360d0e18130b3d1ebd601de18f27">00075</a>   QSplashScreen* <a class="code" href="classBdApp.html#4c5f360d0e18130b3d1ebd601de18f27">mSplash</a>;
<a name="l00076"></a>00076   <span class="comment">//Actions Attributs</span>
<a name="l00077"></a><a class="code" href="classBdApp.html#18dff441197acc272fb2ef6947eb120c">00077</a>   QAction* <a class="code" href="classBdApp.html#18dff441197acc272fb2ef6947eb120c">mActionQuit</a>;
<a name="l00078"></a><a class="code" href="classBdApp.html#2ff8997b34909061e19a9d38e9d2f24d">00078</a>   QAction* <a class="code" href="classBdApp.html#2ff8997b34909061e19a9d38e9d2f24d">mActionAjoutLivreManuel</a>;
<a name="l00079"></a><a class="code" href="classBdApp.html#133c4694fcd5edd79a3b8a10d957a9c7">00079</a>   QAction* <a class="code" href="classBdApp.html#133c4694fcd5edd79a3b8a10d957a9c7">mActionAjoutEditeurManuel</a>;
<a name="l00080"></a><a class="code" href="classBdApp.html#04b857a2e6539279ed3f28364c670888">00080</a>   QAction* <a class="code" href="classBdApp.html#04b857a2e6539279ed3f28364c670888">mActionNouvelleBibliotheque</a>;
<a name="l00081"></a>00081   <span class="comment">//Menu Attributs</span>
<a name="l00082"></a><a class="code" href="classBdApp.html#dd1350f7db57f4a1ccd651a790b43ac8">00082</a>   QMenu* <a class="code" href="classBdApp.html#dd1350f7db57f4a1ccd651a790b43ac8">mMenuFichier</a>;
<a name="l00083"></a><a class="code" href="classBdApp.html#1f62cb3d485b1638baf3f5dfdceb1611">00083</a>   QMenu* <a class="code" href="classBdApp.html#1f62cb3d485b1638baf3f5dfdceb1611">mMenuEdition</a>;
<a name="l00084"></a><a class="code" href="classBdApp.html#67f4296b2510e752da5a672053ec0aaa">00084</a>   QMenu* <a class="code" href="classBdApp.html#67f4296b2510e752da5a672053ec0aaa">mMenuHelp</a>;
<a name="l00085"></a><a class="code" href="classBdApp.html#3672a8b811030cee7afb2491c06734a3">00085</a>   QMenu* <a class="code" href="classBdApp.html#3672a8b811030cee7afb2491c06734a3">mMenuEdtionLivre</a>;
<a name="l00086"></a><a class="code" href="classBdApp.html#c20eb9348bf852279a1e13dd6ff9d674">00086</a>   QMenu* <a class="code" href="classBdApp.html#c20eb9348bf852279a1e13dd6ff9d674">mMenuEdtionEdition</a>;
<a name="l00087"></a>00087   
<a name="l00088"></a>00088 };
<a name="l00089"></a>00089 
<a name="l00090"></a>00090 <span class="preprocessor">#endif</span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Généré le Thu Jul 3 00:22:20 2008 pour Bibliotheque par&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
</body>
</html>
